package cn.sanli.manage.pojo.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 奖励信息表(Rewards)实体类
 *
 * @author wzy
 * @since 2023-12-07 16:06:45
 */

@Data
@ApiModel("奖励信息entity")
public class Rewards implements Serializable {
    private static final long serialVersionUID = -12207362842778498L;
    /**
     * ID
     */
    @ApiModelProperty("ID")
    @ExcelProperty(value = {"", "编号"}, index = 0)
    private Integer id;
    /**
     * 奖励编号
     */
    @ApiModelProperty("奖励编号")
    private String rid;
    /**
     * 所属大口
     */
    @ApiModelProperty("所属大口")
    @ExcelProperty(value = {"", "所属大口"}, index = 1)
    private String center;
    /**
     * 所属部门
     */
    @ApiModelProperty("所属部门")
    @ExcelProperty(value = {"", "所属部门"}, index = 2)
    private String dept;
    /**
     * 被奖励人
     */
    @ApiModelProperty("被奖励人")
    @ExcelProperty(value = {"", "被奖励人"}, index = 4)
    private String name;
    /**
     * 工号
     */
    @ApiModelProperty("工号")
    @ExcelProperty(value = {"", "工号"}, index = 3)
    private String number;
    /**
     * 奖励类别
     */
    @ApiModelProperty("奖励类别")
    @ExcelProperty(value = {"", "奖励类别"}, index = 8)
    private String rewardsType;
    /**
     * 奖励类别文本
     */
    @ApiModelProperty("奖励类别")
    @ExcelProperty(value = {"", "奖励类别"}, index = 8)
    private String rewardsTypeText;
    /**
     * 奖励时间
     */
    @ApiModelProperty("奖励时间")
    @JsonFormat(pattern = "YYYY-MM-dd")
    @ExcelProperty(value = {"", "奖励时间"}, index = 10)
    private Date rewardsTime;
    /**
     * 奖励事由
     */
    @ApiModelProperty("奖励事由")
    @ExcelProperty(value = {"", "奖励事由"}, index = 5)
    private String reasons;
    /**
     * 奖励部门
     */
    @ApiModelProperty("奖励部门")
    @ExcelProperty(value = {"", "奖励部门"}, index = 6)
    private String rewardsDept;
    /**
     * 奖励人
     */
    @ApiModelProperty("奖励人")
    @ExcelProperty(value = {"", "奖励人"}, index = 7)
    private String rewardsName;
    /**
     * 添加人
     */
    @ApiModelProperty("添加人")
    @ExcelProperty(value = {"", "添加人"}, index = 17)
    private String createName;
    /**
     * 添加日期
     */
    @ApiModelProperty("添加日期")
    @JsonFormat(pattern = "YYYY-MM-dd")
    @ExcelProperty(value = {"", "添加日期"}, index = 18)
    private Date createTime;
    /**
     * 奖励资料编号
     */
    @ExcelProperty(value = {"", "奖励资料编号"}, index = 20)
    @ApiModelProperty("奖励资料编号")
    private String rewardsNum;
    /**
     * 现金奖励
     */
    @ExcelProperty(value = {"", "现金奖励"}, index = 21)
    @ApiModelProperty("现金奖励")
    private String rewardsCash;
    /**
     * 现金奖励
     */
    @ExcelProperty(value = {"", "物品奖励"}, index = 22)
    @ApiModelProperty("物品奖励")
    private String rewardsArticles;
    /**
     * 现金奖励
     */
    @ExcelProperty(value = {"", "其他奖励"}, index = 23)
    @ApiModelProperty("其他奖励")
    private String othersRewards;
    /**
     * 积分奖励
     */
    @ApiModelProperty("积分奖励")
    @ExcelProperty(value = {"", "积分奖励"}, index = 24)
    private BigDecimal bonusPoints;
    /**
     * 奖励信息
     */
    @ApiModelProperty("奖励信息")
    @ExcelProperty(value = {"", "备注"}, index = 15)
    private String rewards;
    /**
     * 是否审核
     */
    @ApiModelProperty("是否审核")
    @ExcelProperty(value = {"", "是否审核"}, index = 16)
    private String isCheck;
    /**
     * 备注
     */
    @ApiModelProperty("备注")
    @ExcelProperty(value = {"", "备注"}, index = 19)
    private String remark;



}

